﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="CriarListaPrato.aspx.cs" Inherits="ProjectoPV_ESW.Account.Ementa.CriarListaPrato" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div align=center>
    <h1>Adicionar Pratos a Ementa BasE</h1>
    <p>
        Seleccionar pratos:</p>
    <p>
        Prato 1: 
        <asp:DropDownList ID="DropDownList2" runat="server" Width="200px" 
            DataSourceID="SqlDataSource2" DataTextField="NomePrato" 
            DataValueField="PratoId" Height="30px">
        </asp:DropDownList>
        </p>
    <p>
        Prato 2: 
        <asp:DropDownList ID="DropDownList3" runat="server" Width="200px" 
            DataSourceID="SqlDataSource2" DataTextField="NomePrato" 
            DataValueField="PratoId" Height="30px">
        </asp:DropDownList>
        </p>
    <p>
        Prato 3:
        <asp:DropDownList ID="DropDownList4" runat="server" Width="200px" 
            DataSourceID="SqlDataSource2" DataTextField="NomePrato" 
            DataValueField="PratoId" Height="30px">
        </asp:DropDownList>
        </p>
    <p>
        Prato 4:
        <asp:DropDownList ID="DropDownList5" runat="server" Width="200px" 
            DataSourceID="SqlDataSource2" DataTextField="NomePrato" 
            DataValueField="PratoId" Height="30px">
        </asp:DropDownList>
        </p>
    <p>
        Prato 5:
        <asp:DropDownList ID="DropDownList6" runat="server" Width="200px" 
            DataSourceID="SqlDataSource2" DataTextField="NomePrato" 
            DataValueField="PratoId" Height="30px">
        </asp:DropDownList>
        </p>
    <p>
        <asp:Button ID="Button1" runat="server" Height="30px" 
            Text="Adicionar Pratos a Ementa" Width="300px" onclick="Button1_Click" 
            BackColor="#CCCCFF" BorderColor="#CC99FF" BorderStyle="Double" 
            BorderWidth="3px" Font-Bold="True" Font-Names="Calibri" Font-Size="Medium" 
            ForeColor="Gray" />
    </p>
    <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
        ConnectionString="<%$ ConnectionStrings:JardimEntitiesString %>" 
        ProviderName="<%$ ConnectionStrings:JardimEntitiesString.ProviderName %>" 
        SelectCommand="SELECT * FROM [Prato]"></asp:SqlDataSource>
    <asp:SqlDataSource ID="SqlDataSource3" runat="server" 
        ConnectionString="<%$ ConnectionStrings:JardimEntitiesString %>" 
        ProviderName="<%$ ConnectionStrings:JardimEntitiesString.ProviderName %>" 
        SelectCommand="SELECT * FROM [Ementa]"></asp:SqlDataSource>
    <br />
    <asp:Label ID="LabelErr" runat="server" ForeColor="Red"></asp:Label>
    <asp:Label ID="LabelOK" runat="server" ForeColor="#00CC00"></asp:Label>
</div>
    </asp:Content>

